package com.ruipengkj.component;

import java.awt.Component;

import javax.swing.JPanel;

public class JPanelNullComponent extends JPanel {

	private static final long serialVersionUID = 1L;
	public JPanelNullComponent() {
		this.setLayout(null);
	}
	
	public JPanelNullComponent(Component comp) {
		this.setLayout(null);
		this.add(comp);
	}
	
	public JPanelNullComponent(Component[] comp) {
		this.setLayout(null);
		int length = comp.length;
		for(int i = 0; i < length; ++i) {
			this.add(comp[i]);
		}
	}
}
